]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
windowManager: Kill a comment
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 19 Jan 2015 22:40:07 +0000 (23:40 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 21 Jan 2015 14:44:05 +0000 (15:44 +0100)
The code described by the comment was moved away in commit eda27d51,
so it is not misleading at best. It wasn't too useful to begin with,
so kill it off rather than moving it to the correct place ...

js/ui/windowManager.js

index 2f2a0de38ac7eab0adbd34135a55947a831488cf..5e6bdb503afcd119cc6e9adb46b3a7a2ea650d52 100644 (file)
@@ -1146,10 +1146,8 @@ const WindowManager = new Lang.Class({
             return;
         }
 
-        if (actor.meta_window.is_attached_dialog()) {
-            /* Scale the window from the center of the parent */
+        if (actor.meta_window.is_attached_dialog())
             this._checkDimming(actor.get_meta_window().get_transient_for());
-        }
 
         switch (actor._windowType) {
         case Meta.WindowType.NORMAL: